angular.module('user', []).factory('userService', ['$scope', '$http' , function($scope, $http) {
	/*return {
		// call to get all users
		getList : function() {
			return $http.get('/api/users');
		},
		//call to get one user
		get : function(id) {
			return $http.get('/api/user' + id);
		},

		// call to POST and create a new user
		create : function(userData) {
			return $http.post('/api/users', userData);
		}

		// call to DELETE a user
		delete : function(id) {
			return $http.delete('/api/user/' + id);
		}
	};*/
	return new UserService();
}]);

function UserService(){
	
};